/**
 * Created by bgy on 2016/12/5.
 */
import React from 'react';

class  Headers extends React.Component{
  handleClick(e){
    e.preventDefault();
    window.history.back();
  }
  render(){
    return(
      <header className='headers'>
        <a onClick={this.handleClick} className='leftBtn'>&nbsp;</a> {this.props.title}
      </header>
    );
  }
}
Headers.defaultProps={
  title:''
};
export default Headers;
